package nl.vu.few.ibivu.biomodels.client.ui.cytoscapeweb;

import com.google.gwt.core.client.JavaScriptObject;

public class CytoscapeWebNetworkModelEdge extends JavaScriptObject {

	protected CytoscapeWebNetworkModelEdge() {
	}

	public final native void setDataField(String name, String value) /*-{
		this[name] = value;
	}-*/;

	public final native void setDataField(String name, int value) /*-{
		this[name] = value;
	}-*/;

	public final native String getDataFieldAsString(String name) /*-{
		return this[name];
	}-*/;

	public final native int getDataFieldAsInteger(String name) /*-{
		return this[name];
	}-*/;

	public final native String getId() /*-{
		return this.id;
	}-*/;

	public final native String getSource() /*-{
		return this.source;
	}-*/;

	public final native String getTarget() /*-{
		return this.target;
	}-*/;

	public final native void setId(String id) /*-{
		this.id;
	}-*/;

	public final native void setSource(String source) /*-{
		this.source = source;
	}-*/;

	public final native void setTarget(String target) /*-{
		this.target = target;
	}-*/;
}
